home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / isc-dhcp-client.postrm < prev    next >
Encoding:
Text File  |  2012-09-23  |  273 b   |  19 lines

  1. #!/bin/sh -e
  2. #
  3. #
  4.  
  5. if [ "$1" = "purge" ]; then
  6.     # Remove lease database
  7.     rm -f /var/lib/dhcp/dhclient.leases*
  8.  
  9.     # Try to remove directory
  10.     if [ -d /var/lib/dhcp ]; then
  11.         rmdir --ignore-fail-on-non-empty /var/lib/dhcp/
  12.     fi
  13.  
  14.     rmdir --ignore-fail-on-non-empty /etc/dhcp
  15.  
  16. fi
  17.  
  18.  
  19.